@class-prefix-tabs: ~'adm-tabs';

.@{class-prefix-tabs} {
  &-tab-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    border-bottom: solid 1px var(--adm-border-color);
    overflow-x: scroll;
    &::-webkit-scrollbar {
      display: none;
    }
    scrollbar-width: none;
  }
  &-tab-wrapper {
    flex: auto;
    padding: 0 12px;
  }
  &-tab {
    white-space: nowrap;
    padding: 8px 0 10px;
    width: min-content;
    margin: 0 auto;
    font-size: 17px;
    position: relative;
    cursor: pointer;
  }
  &-tab-active {
    color: var(--adm-color-primary);
    &::after {
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--adm-color-primary);
      content: ' ';
    }
  }
  &-content {
    padding: 12px;
  }
}
